<?php
require_once($_SERVER['DOCUMENT_ROOT']."/defaultconf.mex");
require_once($_SERVER['DOCUMENT_ROOT']."/Modules/RHFK55DD/modconf.mex");
MYTCONN(); 

	$GET = $GLOBALS['MYT']->db_array("SELECT * FROM systemoffice.ccenter_resourcesitem WHERE crst_ID = {$_GET['RSID']}");
	form_pr('crst_form','','','post');
?>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="20%">Numero:</td>
    <td width="80%">
    <?php echo $GET[1]['crst_ID'];
	mn_field('hidden','ED','crst_ID',$GET[1]['crst_ID'],'','','',''); ?></td>
  </tr>
  <tr>
    <td>Nome:</td>
    <td><?php mn_field('text','ED','crst_Name',$GET[1]['crst_Name'],'','','',''); ?></td>
  </tr>
  <tr>
    <td>Consumo Inicial:</td>
    <td><?php mn_field('text','ED','crst_Property1',$GET[1]['crst_Property1'],'','','',''); ?></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td><?php mn_field('button','ED','crst_Submit','Guardar','','','','" onClick="
		document.crst_form.action=\''.$MODURL.'pr_resourceitem.php\';
		subform(\'crst_form\',\'crst_Action\');'); ?></td>
  </tr>
</table>
<div id="crst_Action"></div>